package com.bukebianjihe;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author milian
 * @Date 2021/7/27 0027 9:35
 */
public class demo {
    public static void main(String[] args) {
//        list集合的不可变集合
//        List.of("1","2","3");
        List<String> list = List.of("1","2","3");
        System.out.println(list);
//        Set集合的不可变集合
//        Set.of("1","2","3");
        Set<String> set = Set.of("1","2","3");
        System.out.println(set);
    }
//    map集合的不可变集合


}
